package com.kgis.fm.platform.model.term;

import com.kgis.kp.model.LifecycleModel;

/**
 * 图例项定义
 * 
 * @author zhxiaomiao
 * @version 1.0
 */
public class LegendEntryDefinition extends LifecycleModel {

	private static final long serialVersionUID = 1L;
	private int id;
	/**
	 * 图例编号
	 */
	private int lno;
	/**
	 * 图例项编号
	 */
	private int leno;
	
	/**
	 * 初始缺省是否显示0/1
	 */
	private boolean displayMode;
	/**
	 * 最小显示比例
	 */
	private int displayLevelMin;
	/**
	 * 最大显示比例
	 */
	private int displayLevelMax;
	/**
	 * 顺序
	 */
	private int ordinal;
	/**
	 * 是否按比例显示0/1
	 */
	private boolean scalable;
	/**
	 * 是否可选择0/1
	 */
	private boolean selectable;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLno() {
		return lno;
	}

	public void setLno(int lno) {
		this.lno = lno;
	}

	public int getLeno() {
		return leno;
	}

	public void setLeno(int leno) {
		this.leno = leno;
	}

	

	public boolean isDisplayMode() {
		return displayMode;
	}

	public void setDisplayMode(boolean displayMode) {
		this.displayMode = displayMode;
	}

	public int getDisplayLevelMin() {
		return displayLevelMin;
	}

	public void setDisplayLevelMin(int displayLevelMin) {
		this.displayLevelMin = displayLevelMin;
	}

	public int getDisplayLevelMax() {
		return displayLevelMax;
	}

	public void setDisplayLevelMax(int displayLevelMax) {
		this.displayLevelMax = displayLevelMax;
	}

	public int getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

	public boolean isScalable() {
		return scalable;
	}

	public void setScalable(boolean scalable) {
		this.scalable = scalable;
	}

	public boolean isSelectable() {
		return selectable;
	}

	public void setSelectable(boolean selectable) {
		this.selectable = selectable;
	}

}
